/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018/11/24 Time: 14:01
 */

import {StyleSheet} from 'react-native';
import {
    COLOR_GRAY_BACKGROUND,
    COLOR_GRAY_LINE, COLOR_THEME,
    COLOR_WHITE,
    FONT_COLOR_SUB_TITLE,
    FONT_COLOR_TITLE, FONT_SIZE_14,
    FONT_SIZE_SUB_TITLE,
    FONT_SIZE_TITLE
} from "../../../constant/PHColors"
import {SCREEN_WIDTH} from "../../../constant/PHScreen";

export const styles = StyleSheet.create({

    body: {
        flex: 1,
    },

    container: {
        flex: 1,
        // width:SCREEN_WIDTH,
        backgroundColor: '#ffffff',
    },

    scrollView: {
        flex: 1,
        backgroundColor: '#ffffff',
    },

    headerContainer: {
        height: 32,
        // backgroundColor: COLOR_GRAY_BACKGROUND,
        justifyContent: 'center',
        alignItems: 'flex-start'
    },

    headerText: {
        fontSize: 16,
        color: FONT_COLOR_TITLE,
        marginLeft: 10
    },

    roomTitle:{
        height: 35,
        flexDirection: 'row',
        borderColor: '#ffffff',
        backgroundColor:'#E5ECED',
        width:SCREEN_WIDTH,
    },

    roomTitleText:{
        flex: 1,
        marginLeft: 15,
        marginTop: 6,
        fontSize: 15,
        color: '#666666'
    },

    boxBody: {
        height: 50,
        borderColor: '#e8e8e8',
        borderLeftWidth: 1,
        borderTopWidth: 0,
        borderBottomWidth: 1,
        borderRightWidth: 1,
        justifyContent:'center',
        flexDirection: 'row',
        width:SCREEN_WIDTH,
    },

    leftBox: {
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'flex-start',
        alignItems: 'center',
        marginRight: 15
    },

    leftBox1: {
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'flex-start',
        alignItems: 'center',
        marginRight: 15,
        marginLeft: 20,
    },

    leftBox2: {
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'flex-start',
        alignItems: 'center',
        marginRight: 15,
        marginLeft: 40,
    },

    leftText:{
        fontSize:20,
        color:'#4c4c4c',
        left:10,
    },

    rightBox: {
        flexDirection: 'row',
        justifyContent: 'flex-end',
        alignItems: 'center',
        marginRight: 15,
        width:100,
    },

    /*页面底部菜单*/
    bodyBottom:{
        height:40,
        width:SCREEN_WIDTH,
        bottom:5,
        alignItems:'center',
        position:'absolute',
        backgroundColor:'#ffffff',
        flexDirection:'row',
        justifyContent: 'center',
    },

    bodyBottomRight:{
        width:SCREEN_WIDTH*6/8,
        backgroundColor:'#1f60ff',
        height:40,
        borderRadius: 5,
        alignItems:'center',
        justifyContent: 'center',
    },

    cellTitleText: {
        fontSize: 20,
        color: '#ffffff',
        marginBottom: 1,
        textAlign:'center',
    },

})